package com.moetube.video.pojo;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 视频实体类
 * @author ccr
 * @version 1.3
 */
@Table(name = "video")
@Data
public class Video implements Serializable {
    //id
    @Id
    private String id;
    //标题
    private String title;
    //文字内容
    private String content;
    //点击数量
    private Long clickCount;
    //播放数量
    private Long playCount;
    //弹幕数量
    private Long barrageCount;
    //点赞数量
    private Long likeCount;
    //投币数量
    private Long insertCoinsCount;
    //收藏数量
    private Long collectCount;
    //转发数量
    private Long transpoundCount;
    //评论数量
    private Long commentCount;
    //上传时间
    private Date uploadTime;
    //视频时长
    private Long videoTime;
    //视频标签(数组)
    private String label;
    //审核状态
    private Integer audit;
    //视频图片
    private String image;
    //视频更新时间
    private Date updateTime;
    //一级分类
    private Integer category1Id;
    //二级分类
    private Integer category2Id;
    //一级分类名字
    private String category1Name;
    //二级分类名字
    private String category2Name;
    //上传用户id
    private String userId;
    //视频连接
    private String videoUrl;

    private List list;

}